<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="lib/react.development.js"></script>
    <script src="lib/react-dom.development.js"></script>
    <script src="lib/babel.min.js"></script>
    <script src="lib/prop-types.min.js"></script>
</head>
<body>
    <div id="root"></div>
    <script type="text/babel">
     let {Component} = React

    class Title extends Component{
        static propTypes = {
            name:PropTypes.string
        }

        static defaultProps = {
            name:'aaa'
        }

        render(){
            return <h3>{this.props.name}</h3>
        }
    }

    ReactDOM.render(
        <Title />,
        document.querySelector('#root')
    )

    </script>
</body>
</html>